<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><META content="IE=7.0000" 
http-equiv="X-UA-Compatible">
<HEAD><TITLE>商城</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META content=IE=EmulateIE7 http-equiv=X-UA-Compatible>
<STYLE type=text/css>UNKNOWN {
	BACKGROUND-COLOR: #ececec; MARGIN: 0px
}
.STYLE1 {
	COLOR: #990000
}
BODY {
	FONT-SIZE: 12px
}
TD {
	FONT-SIZE: 12px
}
TH {
	FONT-SIZE: 12px
}
.STYLE2 {
	COLOR: #ff0000; FONT-WEIGHT: bold
}
.STYLE3 {
	COLOR: #333333
}
.STYLE4 {
	COLOR: #ff0000
}
.STYLE5 {
	FONT-FAMILY: "微软雅黑"; COLOR: #fc6a05; FONT-SIZE: 24px
}
.STYLE6 {
	COLOR: #27bdf2; FONT-WEIGHT: bold
}
.STYLE8 {
	FONT-FAMILY: "微软雅黑"; COLOR: #fc6a05; FONT-SIZE: 24px; FONT-WEIGHT: bold;
}
.STYLE10 {
	FONT-FAMILY: "微软雅黑"; COLOR: #9c78b6; FONT-SIZE: 24px; FONT-WEIGHT: bold;
}
.STYLE11 {
	COLOR: #cccccc
}
.STYLE13 {
	COLOR: #ffffff; FONT-SIZE: 14px; FONT-WEIGHT: bold
}
.trStyle{border:3px solid #fff;}

</STYLE>
<LINK rel=stylesheet href="rs_files/min.css">
<SCRIPT src="rs_files/common.js"></SCRIPT>

<SCRIPT type=text/javascript src="rs_files/jquery-1.3.1.js"></SCRIPT>
<LINK rel=stylesheet type=text/css href="rs_files/css.css">
<SCRIPT type=text/javascript src="rs_files/jquery-1.2.6.pack.js"></SCRIPT>

<SCRIPT type=text/javascript src="rs_files/js.js"></SCRIPT>

<SCRIPT src="js/common2.js"></SCRIPT>


<META name=GENERATOR content="MSHTML 9.00.8112.16450"></HEAD>
<BODY>
<?php require'shophead.php'; ?> 

<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%" height=48>
  <TBODY>
  <TR>
    <TD bgColor=#fbfbfb height=48>
      <TABLE border=0 cellSpacing=0 cellPadding=0 width=981 align=center>
        <TBODY>
        <TR>
          <TD width=708><IMG src="rs_files/by.jpg"> </TD>
          <TD width=273><IMG style="DISPLAY: none" src="rs_files/by2.jpg" 
            width=293 height=34> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%" >
  <TBODY>
  <TR>
    <TD>
      <DIV class=w>
      <DIV class=menuPanel>
      <DIV class=sideMenu>
      <DIV id=JS_float_menu_body class=tGroup>
      <DIV class=box>
      <DIV class=allsort>
      <DIV style="DISPLAY: none; HEIGHT: 0px" class=mt><STRONG>全部商品分类<A 
      href="product_buy.php"></A></STRONG> </DIV>
      <DIV class=mc height=480px>
      <?  
  $sql="select count(id) as c  from {$db_prefix}psort where  fid='0'"; 
  $rs2=$db->get_one($sql);  
  $sql="select * from {$db_prefix}psort where fid='0'";  
  $result1=$db->query($sql);
  while($rs2=$db->fetch_array($result1)){
  ?>
      <DIV class=item>
      	<SPAN>
        <H3>
         <a id="Repeater1_fl1_ctl00_HyperLink1" href="product_order_one.php?flname=<?=$rs2['flname']?>">
		 	<?=$rs2['flname']?></a>
        </H3></SPAN>			
          <DIV class=i-mc>
              <DIV style="WIDTH: 506px" class=subitem>
                  <DL style="WIDTH: 506px" class=fore>
                     <?  
  $sql="select count(id) as c  from {$db_prefix}psort where  1"; 
  $rs3=$db->get_one($sql);  
  $sql="select * from {$db_prefix}psort where 1";  
  $result2=$db->query($sql);
  while($rs3=$db->fetch_array($result2)){ 
  	$str = $rs3['path'];
	$arr=(explode(',',$str,4));
	 if ($arr[0]==$rs2['id']) {
  ?>
                    <TABLE style="WIDTH: 506px">
                      <TBODY>
                      <TR>
                        <TD>
                          <DT><A style="WIDTH: 60px; DISPLAY: inline-block" 
                          id=Repeater1_fl1_ctl00_Repeater1_fl2_ctl00_HyperLink2 
                           href="product_order_one.php?flname=<?=$rs3['flname']?>"><?=$rs3['flname']?></A> 
                                     </DT></TD>
                   
                         </TR></TBODY></TABLE>
            <? }}
			$db->free_result($result2);
			?>        
                   </DL>
               </DIV>
           </DIV>
       </DIV>
     <? } 
	 $db->free_result($result1);
	 ?>
      
      <DIV class=extra><A style="DISPLAY: none" 
      href="product_buy.php">全部商品分类</A></DIV></DIV></DIV></DIV>
      <SCRIPT type=text/javascript> 
$(".allsort").hoverForIE6({current:"allsorthover",delay:200});
$(".allsort .item").hoverForIE6({delay:150});
                                </SCRIPT>
      </DIV></DIV></DIV>
      </DIV>
      <DIV id=slide_banner>
      <DIV id=JS_slide_container class=slide_stage>
      <TABLE style="WIDTH: 500%" id=JS_side_stage>
        <TBODY>
        <TR>
          <TD><A href="product_buy.php" target=_blank>
            <DIV style="BACKGROUND-IMAGE: url(image/1.jpg)" 
            class=bg></DIV></A></TD>
          <TD><A href="product_buy.php" target=_blank>
            <DIV style="BACKGROUND-IMAGE: url(image/1.png)" 
            class=bg></DIV></A></TD>
          <TD><A href="product_buy.php" target=_blank>
            <DIV style="BACKGROUND-IMAGE: url(image/31.png)" 
            class=bg></DIV></A></TD>
          <TD><A href="product_buy.php" target=_blank>
            <DIV style="BACKGROUND-IMAGE: url(image/411.jpg)" 
            class=bg></DIV></A></TD>
          <TD><A href="product_buy.php" target=_blank>
            <DIV class=bg></DIV></A></TD></TR></TBODY></TABLE></DIV>
      <DIV class=slide_handdler>
      <DIV id=JS_side_nav class=w><A class=current href="javascript:;">01</A> <A 
      href="javascript:;">02</A> <A href="javascript:;">03</A> <A 
      href="javascript:;">04</A> </DIV></DIV>
      </DIV>
      <SCRIPT type=text/javascript>window._currentWidth=document.body.clientWidth;window.onresize=function(){window._currentWidth=document.body.clientWidth;index=0;autoRun();};var imgDom=M.$("a","#JS_side_stage");for(var i=0,ii=imgDom.length;i<ii;i++){imgDom[i].style.cssText="background:url("+M.__IMG+"/"+imgDom[i].getAttribute("data-bg")+") center center no-repeat";imgDom[i].removeAttribute("data-bg");}var stage=M.$("#JS_side_stage"),imgList=M.$("a",stage),handler=M.$("a","#JS_side_nav"),len=handler.length,current=0,index=0;for(var k=0,kk=len;k<kk;k++){handler[k]._key=k;handler[k].onmouseover=function(){index=this._key;clearInterval(auto);autoRun();};handler[k].onmouseout=function(){auto=setInterval(function(){autoRun();},5000);};}var autoRun=function(){M.removeClass(handler[current],"current");M.addClass(handler[index],"current");M.Animate(stage,{marginLeft:(0-index)*window._currentWidth+"px"},200);current=index;index=(index>=len-1)?0:index+1;};var auto=setInterval(function(){autoRun();},5000);function Focus(b,a,c,d){if(!a){return;}this.nav=b;this.stage=a;this.step=c;this.dir=d;this.index=0;this.len=b.length;if(this.len<=0){return;}this.warp();}Focus.prototype={warp:function(){var c=this;for(var b=0;b<c.len;b++){c.nav[b]._key=b;c.nav[b].onmouseover=function(){c.index=this._key;clearInterval(d);a();};c.nav[b].onmouseout=function(){d=setInterval(function(){a();},5000);};}var a=function(){for(var f=0;f<c.len;f++){(c.nav[f].className.indexOf("current")>-1)?M.removeClass(c.nav[f],"current"):(function(){})();}M.addClass(c.nav[c.index],"current");var e=(c.dir)?"marginLeft":"marginTop";var g={};g[e]=(0-c.step*c.index)+"px";M.Animate(c.stage,g,200);c.index=(c.index>=c.len-1)?0:parseInt(c.index)+1;};var d=setInterval(function(){a();},5000);}};function Tab(e,a,b,d,c){if(e.length<=0||!b){return;}this.nav=e;this.body=a;this.len=e.length;this.more=d;this.eventType=c||"mouseover";this.execute();}Tab.prototype.execute=function(){var b=this;for(var a=0;a<b.len;a++){b.nav[a].setAttribute("key",a);M.addHandler(b.nav[a],b.eventType,function(){var d=this.getAttribute("key");for(var c=0;c<b.len;c++){if((b.nav[c]).className.indexOf("current")>-1){M.removeClass(b.nav[c],"current");M.removeClass(b.body[c],"current");}if(b.more){M.removeClass(b.more[c],"current");}}M.addClass(this,"current");M.addClass(b.body[d],"current");if(b.more){M.addClass(b.more[d],"current");}},b.nav[a]);}};new Tab(M.$("a","#JS_float_menu_nav"),M.$(".tabBody","#JS_float_menu_body"),M.$("#JS_float_menu_body"));new Tab(M.$("a","#JS_tab_expr_nav"),M.$(".tabBody","#JS_tab_expr_body"),M.$("#JS_tab_expr_body"));new Tab(M.$("a","#JS_tab_news_nav"),M.$("ul","#JS_tab_news_body"),M.$("#JS_tab_news_body"));new Tab(M.$("a","#JS_tab_goods_nav"),M.$("ul","#JS_tab_goods_body"),M.$("#JS_tab_goods_body"));new Tab(M.$("a","#JS_tab_exprList_nav"),M.$(".eTabBody","#JS_tab_exprList_body"),M.$("#JS_tab_exprList_body"));new Tab(M.$("a","#JS_tab_query_nav"),M.$(".tabBody","#JS_tab_query_body"),M.$("#JS_tab_query_body"));new Tab(M.$(".JS_item","#JS_tab_goodsMap_nav"),M.$(".bodyItem","#JS_tab_goodsMap_body"),M.$("#JS_tab_goodsMap_body"));function get_upToDate_deal(data){var json;eval("json = ("+data.html_content+")");var html=[];html.push('<div id="JS_scroll_out_box" class="scrollBox">');for(k in json){var time=formatTime(json[k].order_time);html.push('<div class="item">');html.push('<div class="img"><a href="'+json[k].goods_url+'" target="_blank" title="'+json[k].goods_name+'"><img src="'+M.__IMG+"/"+json[k].img+'" width="75" height="48" alt="'+json[k].goods_name+'" /></a></div>');html.push('<div class="txt">'+json[k].consignee+'<br /><span class="time">'+time+'</span>购买<br /><a href="'+json[k].goods_url+'" target="_blank" title="'+json[k].goods_name+'">'+json[k].goods_name.substr(0,7)+"</a></div>");html.push("</div>");}html.push("</div>");M.$("#INDEX_LeiHao_XXXXX").innerHTML=html.join("");setTimeout(function(){dealRecordAnimate();},1000);}
function dealRecordAnimate(){window._JS_ZZ_LOCK_=false;var d=M.$("#JS_scroll_out_box");var b=M.$(".item",d);var a=parseInt(b.length/2);var f=a*(-58)+"px";if(a>4){d.style.marginTop=f;d.onmouseover=function(){window._JS_ZZ_LOCK_=true;};d.onmouseout=function(){window._JS_ZZ_LOCK_=false;};var c=d.innerHTML;c+=c;d.innerHTML=c;setInterval(e,4000);}function e(){if(window._JS_ZZ_LOCK_){return;}var g=parseInt(d.style.marginTop)||0;if(g>=0){d.style.marginTop=f;g=f;}g+=58;M.Animate(d,{marginTop:g+"px"},200,"linear");}}
M.addHandler(window,"load",function(){var a=M.getCookie("ECS[username]");var d=M.$("#JS_bottom_expr_box");if(d){var c=M.$("#JS_bottom_expr_box").childNodes;if(c){reSortDom(c,"current first");}}setTimeout(function(){for(var f=0,g=document.images.length;f<g;f++){var e=document.images[f];var h=e.getAttribute("data-src");if(h){e.src=h;e.removeAttribute("data-src");}}},0);for(var b=1;b<5;b++){new Focus(M.$("a","#JS_focus_floor_nav_"+b),M.$("#JS_focus_floor_stage_"+b),701,1);}});(function(f){var d=f.$("li","#JS_zx_slide_nav"),e=f.$("#JS_zx_slide_stage"),b=d.length,c=0;for(var a=0;a<b;a++){d[a]._key=a;d[a].onmouseover=function(){f.removeClass(d[c],"hover");f.addClass(this,"hover");f.Animate(e,{marginTop:(0-300)*this._key+"px"},150);c=this._key;};}})(M);</SCRIPT>
    </TD></TR></TBODY></TABLE>
<!--------------产品展示开始---------------->  
<!--生活橱窗-begin-->
  <TABLE border=0 cellSpacing=0 cellPadding=0 width=981 align=center height=293>
  <TBODY>
  <TR>
    <TD style="COLOR: #990000; size: 14px" bgColor=#ffffff height=47 
      width=779>&nbsp;<img src="images/s2_h2.png"/></TD>
    <TD style="COLOR: #990000; size: 14px" bgColor=#ffffff width=202 
      align=right><IMG src="image1/logo.gif"> </TD></TR>
  <TR >
    <TD bgColor=#ffffff>
      <DIV>
      <DIV style="WIDTH: 760px; OVERFLOW: hidden; align: center" id=demo>
      <TABLE border=0 cellSpacing=0 cellPadding=0 align=center>
        <TBODY>
        <TR>
          <TD id=marquePic1 vAlign=top>
            <TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">
              <TBODY>
              <TR>
                <TD>
                  <TABLE style="BORDER-COLLAPSE: collapse" id=Repeater1_tj 
                  border=0 cellSpacing=0>
                    <TBODY>
                    <TR>
					 <?
                       $sqlTJ="select * from {$db_prefix}products where selling=0";
						  $sqlTJ.=" order by id asc limit 20";
						  $resultTJ=$db->query($sqlTJ);
						   while($rs=$db->fetch_array($resultTJ)){
					 ?>
					 <TD>
                        <TABLE border=0 cellSpacing=0 cellPadding=0 
width="100%">
                          <TBODY>
                          <TR>
                            <TD><A id=Repeater1_tj_ctl00_HyperLink1 
                              href="product_order.php?id=<?=$rs['id']?>" ><IMG 
                              style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 190px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 190px; BORDER-LEFT-WIDTH: 0px" 
                              id=Repeater1_tj_ctl00_Image1 src="../uploads/productimgs/<?=$rs['pimg']?>"></A> </TD></TR>
                          <TR class="trStyle">
                            <TD bgColor=#ececec height=24 align=center><A 
                              id=Repeater1_tj_ctl00_HyperLink2 
                              href="product_order.php?id=<?=$rs['id']?>"><?=$rs['productname']?></A> </TD></TR>
                          <TR  class="trStyle">
                            <TD bgColor=#ececec height=24 align=center><SPAN 
                              class="fred f22 STYLE4">￥<SPAN 
                              id=Repeater1_tj_ctl00_Label7><?=$rs['price']?></SPAN>&nbsp;</SPAN> 
                              <SPAN 
                              style="COLOR: #696969; TEXT-DECORATION: line-through" 
                              class="fred f22 STYLE4">￥<SPAN 
                              id=Repeater1_tj_ctl00_Label6><?=$rs['scprice']?></SPAN></SPAN> 
                            </TD></TR></TBODY></TABLE></TD>
					 <? } $db->free_result($resultTJ); ?>
                      </TR></TBODY></TABLE>
                      </TD></TR></TBODY></TABLE>
                      </TD>
          <TD id=marquePic2 vAlign=top></TD>
          </TR></TBODY></TABLE>
          </DIV>
      <SCRIPT type=text/javascript> 
var speed=30 
marquePic2.innerHTML=marquePic1.innerHTML 
function Marquee(){ 
if(demo.scrollLeft>=marquePic1.scrollWidth){ 
demo.scrollLeft=0 
}else{ 
demo.scrollLeft++ 
}} 
var MyMar=setInterval(Marquee,speed) 
demo.onmouseover=function() {clearInterval(MyMar)} 
demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)} 
                    </SCRIPT>
      </DIV></TD>
    <TD bgColor=#ffffff vAlign=top>
      <TABLE 
      style="BORDER-BOTTOM: #e2e2e2 1px solid; BORDER-LEFT: #e2e2e2 1px solid; BORDER-TOP: #e2e2e2 1px solid; BORDER-RIGHT: #e2e2e2 1px solid" 
      border=0 cellSpacing=0 cellPadding=0 width="99%" height=248>
        <TBODY>
        <TR>
          <TD bgColor=#ececec height=33 align=center><A 
            href="">网站公告</A> </TD></TR>
        <TR>
          <TD height=205 vAlign=top align=center>
            <TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">
			  	<TBODY>
 <?
  $query='';
  if ($act=='query'){
  	if ($nsortid!=''){
		$pstr='';
		$sqlf="select id,flname from {$db_prefix}nsort where find_in_set('$npsortid',path)>0 or id='$nsortid'";
		$resultf=$db->query($sqlf);
		while($rsf=$db->fetch_array($resultf)){
			if ($pstr!='') $pstr.=',';$pstr.=$rsf['id'];
		}
		$db->free_result($resultf);
		
		if ($pstr!=''){
			$query.=" and find_in_set(nsortid,'$pstr')>0";
		}
	}	
	if (trim($title)!='') $query.=" and title like '%".trim($title)."%'";
  }
  
  $sql="select count(id) as c  from {$db_prefix}announces where 1";
  if ($query!='') $sql.=$query;
  $rs=$db->get_one($sql);
  $page=new pagecls(20,intval($rs['c']));
  $sql="select * from {$db_prefix}announces where 1";
  if ($query!='') $sql.=$query;
  $sql.=" order by istop desc,id desc limit {$page->pastnum},{$page->pagesize}";
  $result=$db->query($sql);
  while($rs=$db->fetch_array($result)){
  ?>
                <tr>
                  <td align="left"><a href="announce_view.php?id=<?=$rs['id']?>"><?=$rs['title']?>
                    <span style="color:red">
                    <? if ($rs['istop']==1) echo "置顶";?>
                    </span></a></td>              
                  <td align="center" ><?=date("Y-m-d H:i:s",$rs['addtime'])?></td>
				  </tr>
				   <?
    
  }
  $db->free_result($result);
  ?>
				</TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<!--生活橱窗-end-->
	<TABLE border=0 cellSpacing=0 cellPadding=0 width=981 align=center>
  <TBODY>
  <TR>
    <TD bgColor=#7ecc1e>
      <TABLE style="BORDER-COLLAPSE: collapse" id=DataList1_gg9 border=0 
      cellSpacing=0>
        <TBODY>
        <TR>
          <TD><A href="product_buy.php" target=_blank><IMG 
            border=0 src="images/s2_bottom.jpg" width=980 height=75> 
        </A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>	
			


<!--商品列表开始-->
<TABLE border=0 cellSpacing=0 cellPadding=0 width=981 align=center>
  <TBODY>
 <TR>
    <TD style="text-align: center;" ><IMG src="rs_files/tuijianshangpin.png" useMap=#Map> <MAP id=Map 
      name=Map><AREA href="product_buy.php" 
        shape=rect coords=849,12,956,51></MAP></TD></TR>
		
  <TR>
    <TD bgColor=#ffffff height=363 align=center>
      <TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">
        <TBODY>
        <TR>
          <TD vAlign=top align=center>
            <TABLE style="BORDER-COLLAPSE: collapse" id=DataList1_xp border=0 
            cellSpacing=0>
              <TBODY>
              <TR>
              <? 
			    $sqlXP1="select * from {$db_prefix}products where 1";
  $sqlXP1.=" order by addtime desc limit 5";
  $resultXP1=$db->query($sqlXP1);
   while($rsXP1=$db->fetch_array($resultXP1)){ 
			  ?>
                <TD>
                  <TABLE border=0 cellSpacing=0 cellPadding=0 width="100%" >
                    <TBODY>
                    <TR>
                      <TD><A id=DataList1_xp_ctl00_HyperLink1 
                       <a href="product_order.php?id=<?=$rsXP1['id']?>"><IMG 
                        style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 180px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 180px; BORDER-LEFT-WIDTH: 0px" 
                        id=DataList1_xp_ctl00_Image1 
                        src="../uploads/productimgs/<?=$rsXP1['pimg']?>"></A> </TD></TR>
                    <TR class="trStyle">
                      <TD bgColor=#ececec height=24 align=center><A 
                        id=DataList1_xp_ctl00_HyperLink2 
                        href="product_order.php?id=<?=$rsXP1['id']?>"><?=$rsXP1['productname']?></A> </TD></TR>
                    <TR class="trStyle">
                      <TD bgColor=#ececec height=24 align=center><SPAN 
                        class="fred f22 STYLE4">会员价:￥<SPAN 
                        id=DataList1_xp_ctl00_Label7><?=$rsXP1['price']?></SPAN>&nbsp;</SPAN> 
                        <SPAN 
                        style="COLOR: #696969; TEXT-DECORATION: line-through" 
                        class="fred f22 STYLE4">市场价:￥<SPAN 
                        id=DataList1_xp_ctl00_Label6><?=$rsXP1['scprice']?></SPAN></SPAN> 
                    </TD></TR></TBODY></TABLE></TD>
                     <? } $db->free_result($resultXP1); ?>
                </TR>
              <TR>
              <? 
			    $sqlXP2="select * from {$db_prefix}products where 1";
				  $sqlXP2.=" order by addtime desc limit 5,5";
				  $resultXP2=$db->query($sqlXP2);
				   while($rsXP2=$db->fetch_array($resultXP2)){ 
			  ?>
                <TD>
                  <TABLE border=0 cellSpacing=3 cellPadding=0 width="100%">
                    <TBODY>
                    <TR>
                      <TD><A id=DataList1_xp_ctl00_HyperLink1 
                       <a href="product_order.php?id=<?=$rsXP2['id']?>"><IMG 
                        style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 180px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 180px; BORDER-LEFT-WIDTH: 0px" 
                        id=DataList1_xp_ctl00_Image1 
                        src="../uploads/productimgs/<?=$rsXP2['pimg']?>"></A> </TD></TR>
                    <TR class="trStyle">
                      <TD bgColor=#ececec height=24 align=center><A 
                        id=DataList1_xp_ctl00_HyperLink2 
                        href="product_order.php?id=<?=$rsXP2['id']?>"><?=$rsXP2['productname']?></A> </TD></TR>
                    <TR class="trStyle">
                      <TD bgColor=#ececec height=24 align=center><SPAN 
                        class="fred f22 STYLE4">会员价:￥<SPAN 
                        id=DataList1_xp_ctl00_Label7><?=$rsXP2['price']?></SPAN>&nbsp;</SPAN> 
                        <SPAN 
                        style="COLOR: #696969; TEXT-DECORATION: line-through" 
                        class="fred f22 STYLE4">市场价:￥<SPAN 
                        id=DataList1_xp_ctl00_Label6><?=$rsXP2['scprice']?></SPAN></SPAN> 
                    </TD></TR></TBODY></TABLE></TD>
                     <? } $db->free_result($resultXP2); ?>
                </TR>
              </TBODY></TABLE>
         <!--     新品结束--> 

<!--分割线-->
<TABLE border=0 cellSpacing=0 cellPadding=0 width=981 align=center>
  <TBODY>
  <TR>
   </TR></TBODY></TABLE>
<!--商品列表结束-->

<!--商品展示开始-->
	<TABLE border=0 cellSpacing=0 cellPadding=0 width=981 align=center>
  <TBODY>
  <TR>
    <TD>
<!--    商品第N分类-->
<?  
  $sqlfl="select * from {$db_prefix}psort where fid='0'";  
  $resultfl=$db->query($sqlfl);
  $i=0;
  while(($rsfl=$db->fetch_array($resultfl))&&$i<4){
	  $i++;
  ?>
      <TABLE style="BORDER-COLLAPSE: collapse" id=DataList1 border=0 
      cellSpacing=0>
        <TBODY>
        <TR>
          <TD>
          
            <TABLE border=0 cellSpacing=0 cellPadding=0 width=981 
              align=center><TBODY>
              <TR>
                <TD bgColor=#ffffff>
                  <TABLE border=0 cellSpacing=0 cellPadding=0 width=968 
                  background=rs_files/1f.jpg height=46>
                    <TBODY>
                    <TR>
                      <TD width="20%"  style="text-align:left;"><SPAN class=STYLE8>&nbsp;<?=$i?>F&nbsp;<?=$rsfl['flname']?><SPAN 
                        class=STYLE11></SPAN></SPAN> </TD>
                     
                      <TD width="5%" align=right><A 
                        id=DataList1_ctl00_HyperLink1 
                        href="product_order_one.php?flname=<?=$rsfl['flname']?>">更多 <?=$i?> <?=$resultfl.count()?>
                        </A></TD></TR></TBODY></TABLE></TD>
                        </TR>
              <TR>
             <!-- 右侧分类图片-->
                <TD bgColor=#ffffff height=363 vAlign=top align=center>
                  <TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">
                    <TBODY>
                    <TR>
                      <TD width="24%">
                        <TABLE style="BORDER-COLLAPSE: collapse" 
                        id=DataList1_ctl00_DataList1_gg9 border=0 
                          cellSpacing=0><TBODY>
                          <TR>
                            <TD><A href="product_buy.php" 
                              target=_blank><IMG border=0 
                              src="rs_files/<?=$i?>.jpg" width=234 
                              height=475> </A></TD></TR></TBODY></TABLE></TD>
             <!-- 左侧商品展示-->
                      <TD vAlign=top width="76%" align=center>
                        <TABLE border=0 cellSpacing=3 cellPadding=0 
                          width="86%"><TBODY>
                          <TR>
                            <TD>
                              <TABLE style="BORDER-COLLAPSE: collapse" 
                              id=DataList1_ctl00_DataList3 border=0 
                              cellSpacing=0>
                                <TBODY>
                           <!--     第一行-->
                                <TR>
                                <?  
					 $flid=$rsfl['id'];
  $sqlflsp1="select * from {$db_prefix}products  where psortid='$flid' limit 4";  
  $resultflsp1=$db->query($sqlflsp1);
  while($rsflsp1=$db->fetch_array($resultflsp1)){?>
                                <TD>
                                <TABLE border=0 cellSpacing=0 cellPadding=0 
                                width="100%">
                                <TBODY>
                                <TR>
                                <TD><A 
                                id=DataList1_ctl00_DataList3_ctl00_HyperLink1 
                                href="product_order.php?id=<?=$rsflsp1['id']?>"><IMG 
                                style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 180px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 180px; BORDER-LEFT-WIDTH: 0px" 
                                id=DataList1_ctl00_DataList3_ctl00_Image1 
                                src="../uploads/productimgs/<?=$rsflsp1['pimg']?>"></A> 
                                </TD></TR>
                                <TR class="trStyle">
                                <TD bgColor=#ececec height=24 align=center><A 
                                id=DataList1_ctl00_DataList3_ctl00_HyperLink2 
                                href="product_order.php?id=<?=$rsflsp1['id']?>"><?=$rsflsp1['productname']?></A> </TD></TR>
                                <TR class="trStyle">
                                <TD bgColor=#ececec height=24 align=center><SPAN 
                                class="fred f22 STYLE4">会员价：￥<SPAN 
                                id=DataList1_ctl00_DataList3_ctl00_Label7><?=$rsflsp1['price']?></SPAN>&nbsp;</SPAN> 
                                <SPAN 
                                style="COLOR: #696969; TEXT-DECORATION: line-through" 
                                class="fred f22 STYLE4">市场价：￥<SPAN 
                                id=DataList1_ctl00_DataList3_ctl00_Label6><?=$rsflsp1['scprice']?></SPAN></SPAN> 
                                </TD></TR></TBODY></TABLE></TD>
                               
                                <? }  $db->free_result($resultflsp1); ?>
                                </TR>
                            <!--    第二行-->
                                <TR>
                                 <?  					 
  $sqlflsp2="select * from {$db_prefix}products where psortid='$flid' limit 4,4";  
  $resultflsp2=$db->query($sqlflsp2);
  while($rsflsp2=$db->fetch_array($resultflsp2)){?>
                                <TD>
                                <TABLE border=0 cellSpacing=0 cellPadding=0 
                                width="100%">
                                <TBODY>
                                <TR>
                                <TD><A 
                                id=DataList1_ctl00_DataList3_ctl00_HyperLink1 
                                href="product_order.php?id=<?=$rsflsp2['id']?>"><IMG 
                                style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 180px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 180px; BORDER-LEFT-WIDTH: 0px" 
                                id=DataList1_ctl00_DataList3_ctl00_Image1 
                                src="../uploads/productimgs/<?=$rsflsp2['pimg']?>"></A> 
                                </TD></TR>
                                <TR class="trStyle">
                                <TD bgColor=#ececec height=24 align=center><A 
                                id=DataList1_ctl00_DataList3_ctl00_HyperLink2 
                                href="product_order.php?id=<?=$rsflsp2['id']?>"><?=$rsflsp2['productname']?></A> </TD></TR>
                                <TR class="trStyle">
                                <TD bgColor=#ececec height=24 align=center><SPAN 
                                class="fred f22 STYLE4">会员价：￥<SPAN 
                                id=DataList1_ctl00_DataList3_ctl00_Label7><?=$rsflsp2['price']?></SPAN>&nbsp;</SPAN> 
                                <SPAN 
                                style="COLOR: #696969; TEXT-DECORATION: line-through" 
                                class="fred f22 STYLE4">市场价：￥<SPAN 
                                id=DataList1_ctl00_DataList3_ctl00_Label6><?=$rsflsp2['scprice']?></SPAN></SPAN> 
                                </TD></TR></TBODY></TABLE></TD>
                               
                                <? }  $db->free_result($resultflsp2); 
								?>
                              </TR>
                              </TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
                              </TR>
                              </TBODY></TABLE>
                              </TD></TR></TBODY></TABLE>
             <!--      分割线-->
            <TABLE border=0 cellSpacing=0 cellPadding=0 width=981 
              align=center><TBODY>
              <TR>
                <TD><IMG src="rs_files/grxh_11.jpg"> 
        </TD></TR></TBODY></TABLE>
        
        </TD></TR></TBODY></TABLE>
        <? }  $db->free_result($resultfl); ?> 
        </TD></TR></TBODY></TABLE>
<!--商品列表结束--
  
<!--------------产品展示结束---------------->    
    <BR>
<?php require_once("product_buy_foot.php");?> 
<BR></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
</body>

</html>








